<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
  <title></title>
  <script src="../core/conform.js"></script>
  <script>
  var fields = [
    {'name': 'C',  'constant': 'a'},
    {'name': 'F',  'formula' : ' this.cf.F = "formula" '},
    {'name': 'S',  'set'     : '[1,2,3]'},
    {'name': 'F1', 'formula' : ' this.cf.F1 = this.cf.S + 100 '},
    {'name': 'S1', 'set'     : '[1,2,3,this.cf.F1]'},
    {'name': 'S2', 'set'     : '[{from:7, to:77}]'} 
  ];
  
  var fields2 = [
    {'name': 'C',  'constant': 'b'},
    {'name': 'F',  'formula' : ' this.cf.F = "formula2" '},
    {'name': 'S',  'set'     : '[1,2,3]'},
    {'name': 'F1', 'formula' : ' this.cf.F1 = this.cf.S + 200 '},
    {'name': 'S1', 'set'     : '[1,2,3,this.cf.F1]'} 
  ];
  
  var f = new conform.Form();
  f.load(fields);
  
  </script>
  </head>
  <body>

  </body>
</html>